package cn.com.bod.fas.common.service;

import cn.com.bod.fas.common.model.message.WebLogMsgVo;
import cn.com.bod.fas.common.model.vo.WebLogVo;
import cn.com.yusys.yusp.commons.web.rest.dto.ResultDto;
import io.swagger.annotations.Api;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description 审计服务Feign接口
 * @author chenyuanxian
 * @date 2019年10月13日 15:47:12
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */
@Api(value = "审计服务Feign接口", tags = "审计服务Feign接口")
@RequestMapping("/feign/audit")
public interface FeignAuditService {

	@PostMapping(value = "/sendWebLogToRabbit", consumes = MediaType.APPLICATION_JSON_VALUE)
	ResultDto<Void> sendWebLogToRabbit(@RequestBody WebLogMsgVo<WebLogVo> webLogMsgVo);
}
